package cn.jiyun.fegin;

import cn.jiyun.pojo.States;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("states-service")
public interface StatesFegin {

    @RequestMapping("/states/findAll")
    public List<States> findAll();

}
